import * as ActionType from './actionType'
export default (state = [], action) => {
    switch (action.type) {
        case ActionType.URL:
            return {
                action: {
                    type: action.type,
                    text: action.text,
                    data: action.data
                }
            }
        default: {
            return state;
        }
    }
}